package co.fitstart.weapp.api.dao;

import com.demo2do.core.persistence.annotation.Dao;
import com.demo2do.core.persistence.annotation.Query;
import com.demo2do.core.persistence.annotation.Variable;

import co.fitstart.entity.course.round.CourseRound;
import co.fitstart.entity.course.round.CourseRoundResult;

/**
 * 
 * @author haiyan_xiao
 *
 */
@Dao("hibernate")
public interface CourseRoundResultDao {

    /**
     * 
     * @param courseRound
     * @return
     */
    @Query("FROM CourseRoundResult WHERE courseRound = :courseRound")
    public CourseRoundResult load(@Variable("courseRound") CourseRound courseRound);
}
